package com.yunji.cabinet.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yunji.common.base.BaseDelFlagDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.cabinet.domain
 * @Title: FillCargoInfo
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-11-01 15:02:25      V1.0        HuaAo       新建类
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("tl_fill_cargo_info")
public class FillCargoInfoDO extends BaseDelFlagDO {

    @ApiModelProperty("详情ID")
    @TableId(type = IdType.AUTO)
    private Long infoId;

    @ApiModelProperty("维护ID")
    private Long maintainId;

    @ApiModelProperty("维护Code")
    private String maintainCode;

    @ApiModelProperty("格子序号")
    private Integer ordinal;

    @ApiModelProperty("商品ID")
    private Long productId;

    @ApiModelProperty("商品名称")
    private String productName;

    @ApiModelProperty("商品图片")
    private String albumPics;

    @ApiModelProperty("原价")
    private BigDecimal price;

    @ApiModelProperty("折扣价")
    private BigDecimal discountPrice;

    @ApiModelProperty("补货数量")
    private Integer cargoNums;

    @ApiModelProperty("备注")
    private String remarks;

}